package com.example.mapper.auto;

import com.example.model.auto.CommentAccount;
import com.example.model.auto.CommentInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.model.auto.UserCommentIAccount;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * <p>
 * 评论信息表 Mapper 接口
 * </p>
 *
 * @author 姚帅
 * @since 2023-02-19
 */
public interface CommentInfoMapper extends BaseMapper<CommentInfo> {
    /*根据博客id查询所有评论*/
    public List<CommentAccount> SelectComById(int id);

    /*根据用户id查询其所有的评论*/
    List<UserCommentIAccount> FdComById(int id);


}
